import request from '@/utils/request'


export default {
  getList(dictTypeDTO){
    return request({
      url: '/dictType/list',
      method: 'get',
      params: dictTypeDTO
    })
  },
  getById(row){
    return request({
      url: `/dictType/get/${row}`,
      method:'get',
    })
  },

  save(dataDialogFrom){
    return request({
      url:'/dictType/save',
      method:'post',
      data:dataDialogFrom
    })
  },
  removeById(id){
    return request({
      url:`/dictType/delete/${id}`,
      method: 'delete',
    })
  },

}
